package com.ruoyi.student.domain;

import java.util.List;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 学生列表对象 student
 * 
 * @author 核桃
 * @date 2023-11-11
 */
public class Student extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    private Long stuid;

    /** 姓名 */
    @Excel(name = "姓名")
    private String stuname;

    /** 性别 */
    @Excel(name = "性别")
    private String stusex;

    /** $table.subTable.functionName信息 */
    private List<Course> courseList;

    public void setStuid(Long stuid) 
    {
        this.stuid = stuid;
    }

    public Long getStuid() 
    {
        return stuid;
    }
    public void setStuname(String stuname) 
    {
        this.stuname = stuname;
    }

    public String getStuname() 
    {
        return stuname;
    }
    public void setStusex(String stusex) 
    {
        this.stusex = stusex;
    }

    public String getStusex() 
    {
        return stusex;
    }

    public List<Course> getCourseList()
    {
        return courseList;
    }

    public void setCourseList(List<Course> courseList)
    {
        this.courseList = courseList;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("stuid", getStuid())
            .append("stuname", getStuname())
            .append("stusex", getStusex())
            .append("courseList", getCourseList())
            .toString();
    }
}
